package at.ac.tuwien.dse.health.entity;

/**
 * The sex of a {@link User}.
 *
 * @author Bernhard Nickel
 * @author Gregor Schauer
 * @author Dominik Strasser
 */
public enum Sex {
	FEMALE, MALE;

	public char code() {
		return name().charAt(0);
	}

	@Override
	public String toString() {
		return super.toString().toLowerCase();
	}
}
